import com.page.PageElement;
import com.page.TestBaseCase;
import com.utils.ElementAction;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;

public class HuoChe extends TestBaseCase {
    private String dianUrl = "https://hsh.vpclub.cn/web/#/Activities/Train/Home/1083544069123923968";//要打开的网址
    private String uiConfigPath = "";//uiConfig路径
    private String exclefilePath = ""; //读取登录用例测试数据
    private final static String file = "F:\\Desktop";


    @BeforeClass
    @Parameters({"dianUrl", "uiConfigPath", "excleFilePath"})
    public void initParamets(String url, String uiConfigPath, String excleFilePath) {
        this.dianUrl = url;
        this.uiConfigPath = uiConfigPath;
        this.exclefilePath = excleFilePath;
    }

    @Test(description = "alter按钮测试", enabled = true)
    public void diandiandian() {
        PageElement pageElement = new PageElement(uiConfigPath, "alter按钮测试");
        pageElement.open("https://www.baidu.com");
        ElementAction action = new ElementAction();
    }

}
